package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.soms.entity.StoreProjectCycleConfig;
import com.mybatisflex.core.service.IService;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-09-11
 */
public interface StoreProjectCycleConfigService extends IService<StoreProjectCycleConfig> {

    StoreProjectCycleConfig getByStoreUidAndProjectUidAndCycleUid(String storeUid, String projectUid, String cycleUid);

    boolean updateInfo(
            String storeUid, String projectUid, String cycleUid, String cycleConfigUid,
            Double totalAmount, Double unitAmount, Integer enabled, String staffUid, String staffName
    );

    void deleteByCycleUid(String storeUid, String cycleUid);

}
